﻿@model HtmlContent.Models.Container

@{
    List<Core.NameId> lyesno = Core.Tools.YesNo();
    List<Core.NameId> lContainerType = new List<Core.NameId>();
    lContainerType.Add(new Core.NameId { Id = "V", Name = "Vertical Stack Panel" });
    lContainerType.Add(new Core.NameId { Id = "H", Name = "Horizontal Stack Panel" });
    lContainerType.Add(new Core.NameId { Id = "C", Name = "Content" });
}

@Html.HiddenFor(model => model.ContainerId)
@Html.HiddenFor(model => model.PluginId)
@Html.HiddenFor(model => model.ContentId)
@Html.HiddenFor(model => model.ParentContainerId)

<div class="editor-label">
    @Html.LabelFor(model => model.ContainerType)
</div>
<div class="editor-field">
    @Html.DropDownListFor(model => model.ContainerType, new SelectList(lContainerType,"Id","Name",Model.ContainerType))
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.ContainerName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.ContainerName)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Title)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Width)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Width)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.ShowChromeYN)
</div>
<div class="editor-field">
    @Html.DropDownListFor(model => model.ShowChromeYN, new SelectList(lyesno,"Id","Name",Model.ShowChromeYN))
</div>
